package com.hrma.entity;

import lombok.Data;

import javax.validation.constraints.Min;
import java.util.Date;

@Data
public class EmployeeDTO extends Employee{
    @Min(value = 1,message = "pageNum最小值!")
    private int pageNum;
    @Min(value = 1,message = "pageSize最小值!")
    private int pageSize;
    private Date beginTime;
    private Date endTime;
}
